package work.mediway.mdm.biz.vo.dict;

import com.fasterxml.jackson.annotation.JsonIgnore;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import work.mediway.mdm.core.vo.BaseVO;

/**
 * 业务域字典
 *
 * @author zhongyj <1126834403@qq.com><br/>
 * @date 2020/12/17
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "业务域字典")
@Data
public class BusinessFieldVO extends BaseVO {

    @ApiModelProperty(value = "代码")
    private String code;

    @ApiModelProperty(value = "描述")
    private String descr;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "状态（1启用,0停用,-1删除）")
    private String status;

    @ApiModelProperty(value = "状态（1启用,0停用,-1删除）")
    private String statusDesc;

    @ApiModelProperty(value = "最后更新人编码")
    private String lastUpdateUserId;

    @ApiModelProperty(value = "最后更新日期")
    @JsonIgnore
    private String lastUpdateDate;

    @ApiModelProperty(value = "最后更新时间")
    @JsonIgnore
    private String lastUpdateTime;

    @ApiModelProperty(value = "最后更新日期时间")
    private String lastUpdateDateTime;

    @ApiModelProperty(hidden = true)
    private String businessHospitalCode;

    @ApiModelProperty(hidden = true)
    private String businessHospitalDesc;

    @ApiModelProperty(hidden = true)
    @JsonIgnore
    private String businessCode;

    @ApiModelProperty(hidden = true)
    @JsonIgnore
    private String businessDesc;

    @ApiModelProperty(hidden = true)
    @JsonIgnore
    private String hospitalCode;

    @ApiModelProperty(hidden = true)
    @JsonIgnore
    private String hospitalDesc;
}